package org.zhhw.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.zhhw.feign.service.serviceImpl.FeignTestServiceImpl;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: jack
 * \* Date: 2019/1/23
 * \* Time: 15:46
 * \* Description:
 * \
 */
@FeignClient(value = "eureka-client",fallback = FeignTestServiceImpl.class)
public interface FeignTestService {

    @GetMapping("/")
    String hello();
}
